<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:include="include :: header"></head>
<style type="text/css">
    .fz {
        font-size: 12px;
        color: red;
        padding-left: 10px;
        display: none;
    }
</style>
<body>
<div class="wrapper wrapper-content">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div th:include="include :: menu"></div>
            <div id="myAlert" class="alert alert-success">
                <a href="#" class="close" data-dismiss="alert">&times;</a>
                <span id="alertMsg">提交失败</span>
            </div>
            <div class="container">
                <form class="form-horizontal" id="setting_form">
                    <input type="hidden" class="form-control" id="id">
                    <div class="form-group">
                        <label for="username" class="col-sm-2 control-label">登录用户名(username)</label>
                        <div class="col-sm-10">
                            <input name="beginTime" id="username" readonly="readonly" type='text' class="form-control"
                                   />
                            <span class="fz nousername" id="usernameMsg">* 登录用户名</span>
                        </div>
                    </div>
                    <div>
                        <div class="form-group">
                            <label for="password" class="col-sm-2 control-label">登录密码(beginTime)</label>
                            <div class="col-sm-10">
                                <input name="password" id="password" type='text' class="form-control"
                                       placeholder="登录密码"/>
                                <span class="fz nopassword" id="passwordMsg">* 登录密码不能为空</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="apiHisUrl" class="col-sm-2 control-label">历史查询地址(apiHisUrl)</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="apiHisUrl"
                                       placeholder="历史查询地址">
                                <span class="fz noapiHisUrl" id="apiHisUrlMsg">* >历史查询地址不能为空</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="apiNowUrl" class="col-sm-2 control-label">当日查询地址(apiNowUrl)</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="apiNowUrl"
                                       placeholder="当日查询地址">
                                <span class="fz noapiNowUrl" id="apiNowUrlMsg">* >当日查询地址不能为空</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="intervalTime" class="col-sm-2 control-label">两次查询间隔时间(intervalTime)</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="intervalTime"
                                       placeholder="两次查询间隔时间">
                                <span class="fz nointervalTime" id="intervalTimeMsg">* >两次查询间隔时间不能为空</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="apiUser" class="col-sm-2 control-label">授权用户(apiUser)</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="apiUser"
                                       placeholder="授权用户">
                                <span class="fz noapiUser" id="apiUserMsg">* >授权用户不能为空</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="apiPass" class="col-sm-2 control-label">授权密码(apiPass)</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="apiPass"
                                       placeholder="授权密码">
                                <span class="fz noapiPass" id="apiPassMsg">* >授权密码不能为空</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="button" class="btn btn-primary" id="btnSubmit"> 提 交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/index/setting.js"></script>
</body>
</html>
